package com.yms.mybatis_plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * @version : 1.0
 * @Author: yangmingsong
 * @Date: 2021/5/4-05-04-15:21
 * @Description: mybatis-plus-exercise
 */
@Data
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;


    private String name;

    private int age;

    private String email;

}
